Skip to contentSkip to conversation

New: memory leak

Bug 83022 [email protected] 1 participant 8 messages Aug 24, 2014 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=83022

Priority: medium
Bug ID: 83022
Assignee: [email protected]
Summary: memory leak
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

I am using VisIt to produce movies, however it seems that each state file leak memory and I cannot process all of them. I have tested it on nvidia workstation with proprietary drivers without problem.

Can you point me how to identify if it is a driver's problem or VisIt's?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 83022] memory leak

https://bugs.freedesktop.org/show_bug.cgi?id=83022

--- Comment #1 from Michel Dänzer <[email protected]> --- First of all, please attach /var/log/Xorg.0.log and the output of dmesg and glxinfo.

The output from running the app with valgrind --leak-check=full (preferably with debugging symbols available for r600_dri.so) should be a good start to identify where the leaks are coming from.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 83022] memory leak

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83022

--- Comment #2 from [email protected] ---
Created attachment 105219
--> https://bugs.freedesktop.org/attachment.cgi?id=105219&action=edit
Xorg.0.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 83022] memory leak

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83022

--- Comment #3 from [email protected] ---
Created attachment 105220
--> https://bugs.freedesktop.org/attachment.cgi?id=105220&action=edit
dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 83022] memory leak

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83022

--- Comment #4 from [email protected] ---
Created attachment 105221
--> https://bugs.freedesktop.org/attachment.cgi?id=105221&action=edit
glxinfo

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 83022] memory leak

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83022

--- Comment #5 from [email protected] ---
I tried to run it with valgrind and there are so many errors and it just crashed whole system (I mean disk IO was so high I had to press shutdown button, I do not get this, as I had no swap enabled). Second time I tried it and killed it just before system run out of resources. It looked like system works, however, Xorg process used all CPU (driver crashed and switched to SW rendering?) even that glxinfo reported it is running on R600.

On Intel driver it works well (I have dual system).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 83022] memory leak

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83022

--- Comment #6 from Michel Dänzer <[email protected]> ---
Can you try with fewer state files? The memory leaks should still be visible in the valgrind output.

Also, it would be better if you can exit VisIt cleanly instead of killing it, otherwise valgrind might incorrectly report memory as leaked which is normally freed correctly.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 83022] memory leak

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83022

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #7 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/522.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel